// 封装call
Function.prototype.myCall = function (obj, ...args) {
    let context = obj || window;
    context.fn = this;
    let result = context.fn(...args);
    delete context.fn;
    return result;
}